package com.tensquare.sms.test;

import org.springframework.amqp.rabbit.annotation.RabbitHandler;
import org.springframework.amqp.rabbit.annotation.RabbitListener;
import org.springframework.stereotype.Component;

@Component
@RabbitListener(queues = {"q3"})
public class Customer1 {
    @RabbitHandler
    public void receiveMsg(String msg) {
        System.out.println(msg + "/////////////////////////////////////////////");
    }
}
